﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LH.Model.SA
{
    public class SaleQuo  //销售订单
    {
        public SaleQuo(SaleQuo.Head head, List<SaleQuo.Body> bodies)
        {
            this.head = head;
            this.bodies = bodies;
        }

        public Head head;
        public List<Body> bodies;
        //全部是string 
        public class Head       //销售报价单表头
        { 
                public string cstcode { get; set; }

                public string ddate { get; set; }

                public string ccode { get; set; }

                public string ccuscode { get; set; }

                public string cdepcode { get; set; }

                public string cpersoncode { get; set; }

                public string csccode { get; set; }

                public string ccusoaddress { get; set; }

                public string cpaycode { get; set; }

                public string cexch_name { get; set; }

                public string iexchrate { get; set; }

                public string itaxrate { get; set; }

                public string cmemo { get; set; }

                public string cmaker { get; set; }

                public string cverifier { get; set; }

                public string ccloser { get; set; }

                public string cdefine1 { get; set; }

                public string cdefine2 { get; set; }

                public string cdefine3 { get; set; }

                public string cdefine4 { get; set; }

                public string cdefine5 { get; set; }

                public string cdefine6 { get; set; }

                public string cdefine7 { get; set; }

                public string cdefine8 { get; set; }

                public string cdefine9 { get; set; }

                public string cdefine10 { get; set; }

                public string id { get; set; }

                public string ivtid { get; set; }

                public string ufts { get; set; }

                public string cbustype { get; set; }

                public string cdefine11 { get; set; }

                public string cdefine12 { get; set; }

                public string cdefine13 { get; set; }

                public string cdefine14 { get; set; }

                public string cdefine15 { get; set; }

                public string cdefine16 { get; set; }

                public string coppcode { get; set; }

                public string cgatheringplan { get; set; }

                public string iverifystate { get; set; }

                public string ireturncount { get; set; }

                public string iswfcontrolled { get; set; }

                public string cmodifier { get; set; }

                public string dmoddate { get; set; }

                public string dverifydate { get; set; }

                public string ccusperson { get; set; }

                public string dcreatesystime { get; set; }

                public string dverifysystime { get; set; }

                public string dmodifysystime { get; set; }

                public string caddcode { get; set; }

                public string iflowid { get; set; }

                public string iprintcount { get; set; }

                public string ccuspersoncode { get; set; }

                public string csysbarcode { get; set; }

                public string ccrmpersoncode { get; set; }

                public string ccrmpersonname { get; set; }

                public string cmainpersoncode { get; set; }

                public string ioppid { get; set; }

                public string optnty_name { get; set; }

                public string ccurrentauditor { get; set; }

                public string quote_status { get; set; }

                public string cattachment { get; set; }

                public string outid { get; set; }

            


        }

        public class Body       //销售报价单表体
        {
            public string autoid { get; set; }

            public string cinvcode { get; set; }

            public string iquantity { get; set; }

            public string inum { get; set; }

            public string iquotedprice { get; set; }

            public string iunitprice { get; set; }

            public string itaxunitprice { get; set; }

            public string imoney { get; set; }

            public string itax { get; set; }

            public string isum { get; set; }

            public string idiscount { get; set; }

            public string inatunitprice { get; set; }

            public string inatmoney { get; set; }

            public string inattax { get; set; }

            public string inatsum { get; set; }

            public string inatdiscount { get; set; }

            public string cmemo { get; set; }

            public string cfree1 { get; set; }

            public string cfree2 { get; set; }

            public string kl { get; set; }

            public string kl2 { get; set; }

            public string itaxrate { get; set; }

            public string cdefine22 { get; set; }

            public string cdefine23 { get; set; }

            public string cdefine24 { get; set; }

            public string cdefine25 { get; set; }

            public string cdefine26 { get; set; }

            public string cdefine27 { get; set; }

            public string citemcode { get; set; }

            public string citem_class { get; set; }

            public string citemname { get; set; }

            public string citem_cname { get; set; }

            public string cfree3 { get; set; }

            public string cfree4 { get; set; }

            public string cfree5 { get; set; }

            public string cfree6 { get; set; }

            public string cfree7 { get; set; }

            public string cfree8 { get; set; }

            public string cfree9 { get; set; }

            public string cfree10 { get; set; }

            public string iinvexchrate { get; set; }

            public string id { get; set; }

            public string cdefine28 { get; set; }

            public string cdefine29 { get; set; }

            public string cdefine30 { get; set; }

            public string cdefine31 { get; set; }

            public string cdefine32 { get; set; }

            public string cdefine33 { get; set; }

            public string cdefine34 { get; set; }

            public string cdefine35 { get; set; }

            public string cdefine36 { get; set; }

            public string cdefine37 { get; set; }

            public string cunitid { get; set; }

            public string fsalecost { get; set; }

            public string fsaleprice { get; set; }

            public string icusbomid { get; set; }

            public string ippartseqid { get; set; }

            public string ippartid { get; set; }

            public string ippartqty { get; set; }

            public string ccusinvcode { get; set; }

            public string ccusinvname { get; set; }

            public string brefpa { get; set; }

            public string fcusminprice { get; set; }

            public string irowno { get; set; }

            public string bsaleprice { get; set; }

            public string bgift { get; set; }

            public string fdhquantity { get; set; }

            public string fdhnum { get; set; }

            public string fhtquantity { get; set; }

            public string fhtnum { get; set; }

            public string cbsysbarcode { get; set; }

            public string body_outid { get; set; }
            public string cgroupcode { get; set; }
            public string editprop { get; set; }
            


        }
    }
}
